package com.hulu73.spring.aop.core;

import java.lang.reflect.Method;

public class MethodMatchers {

	public static boolean matches(MethodMatcher mm, Method method, Class<?> targetClass, boolean hasIntroductions) {
		
		return ((mm instanceof MethodMatcher &&
				mm.matches(method, targetClass, hasIntroductions)) ||
				mm.matches(method, targetClass));
	}
	
}
